package net.didactylos.helpline.data;

import java.util.*;

import javax.persistence.*;

//@Entity
//@Table(name="MessageDiff")
public class MessageDiff extends Message
{
	@ManyToOne
	private Message message;
	
	@Temporal(TemporalType.DATE)
	private Date changeTime;
	
	@ManyToOne
	private User changedBy;

	public Message getMessage()
	{
		return message;
	}

	public void setMessage(Message message)
	{
		this.message = message;
	}

	public Date getChangeTime()
	{
		return changeTime;
	}

	public void setChangeTime(Date changeTime)
	{
		this.changeTime = changeTime;
	}

	public User getChangedBy()
	{
		return changedBy;
	}

	public void setChangedBy(User changedBy)
	{
		this.changedBy = changedBy;
	}
	
	
}
